<?php
/**
 * @version $Id: preview.php 24 2009-03-29 13:19:58Z der.el.kuku $
 * @package    WikiInclude
 * @subpackage
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Nikolai Plath {@link http://www.easy-joomla.org}
 * @author     Created on 26-Mar-2009
 */

//--No direct access
defined( '_JEXEC' ) or die( '=;)' );

//--Add css
JHTML::stylesheet('diff.css', 'administrator/components/com_wikiinclude/assets/css/');

?>
    <h1 style="border-bottom: 2px dashed red;"><?php echo JText::_('Differences'); ?></h1>
		    <table class="diff">
 			<tr>
				<th colspan="2"><?php echo JText::_('Saved Version'); ?></th>
				<th colspan="2"><?php echo JText::_('Wiki Version'); ?></th>
			</tr>
      <?php echo $this->diff; ?>
    </table>
    <h1 style="border-bottom: 2px dashed red;"><?php echo JText::_('Preview'); ?></h1>
    <?php 
echo $this->wikiVersion->text;